package com.ruiysoft.crm.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2018-10-07
 */

@TableName("`order`")
public class Order extends Model<Order> {

    private static final long serialVersionUID = 1L;

    private String id;

    private Integer employeeId;

    private Date createTime;

    private Date updateTime;

    private String status;

    private String userName;

    private String telNumber;

    private String provinceCityCounty;

    private String detailInfo;

    private String postalCode;

    private String remarks;

    private String type;

    private Float sumPrice;

    /**
     * 快递公司
     */
    private String express;

    private String expressNu;

    /**
     * 订单
     */
    private String image;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getTelNumber() {
        return telNumber;
    }

    public void setTelNumber(String telNumber) {
        this.telNumber = telNumber;
    }
    public String getProvinceCityCounty() {
        return provinceCityCounty;
    }

    public void setProvinceCityCounty(String provinceCityCounty) {
        this.provinceCityCounty = provinceCityCounty;
    }
    public String getDetailInfo() {
        return detailInfo;
    }

    public void setDetailInfo(String detailInfo) {
        this.detailInfo = detailInfo;
    }
    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public Float getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(Float sumPrice) {
        this.sumPrice = sumPrice;
    }
    public String getExpress() {
        return express;
    }

    public void setExpress(String express) {
        this.express = express;
    }
    public String getExpressNu() {
        return expressNu;
    }

    public void setExpressNu(String expressNu) {
        this.expressNu = expressNu;
    }
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Order{" +
        "id=" + id +
        ", employeeId=" + employeeId +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", status=" + status +
        ", userName=" + userName +
        ", telNumber=" + telNumber +
        ", provinceCityCounty=" + provinceCityCounty +
        ", detailInfo=" + detailInfo +
        ", postalCode=" + postalCode +
        ", remarks=" + remarks +
        ", type=" + type +
        ", sumPrice=" + sumPrice +
        ", express=" + express +
        ", expressNu=" + expressNu +
        ", image=" + image +
        "}";
    }
}
